﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="hotpro.aspx.cs" Inherits="WebSite.cn.hotpro" %>
<%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %>
<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc3" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title><%=WebSite.info.info1("", "shoptitle")%></title>
    <meta name="Description" content="<%=WebSite.info.info1("","shopcontent")%>" /> 
    <meta name="Keywords" content="<%=WebSite.info.info1("","shopkey")%>" />
    <link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <center>   
	<uc1:head ID="head_1" runat="server" />
  <div id="container">   
      <div id="divLogin" runat="server" style=" float:left; width:100%; margin-top:20px;">
            <table border="0" cellspacing="0" cellpadding="0"  
                style="border: 1px solid #942625; width: 100%; background-color: #d30000;  "> 
              <tr>
                <td colspan="9" style="text-align:left;" ><%=sLoginMessage %></td>
              </tr>
              <tr  >
              <td style="color:#fff;">输入卡(券号)号和密码： </td>
                <td height="28" align="right" style="color:#fff;"  width="60px" >卡　号：</td>
                <td align="left"  style="color:#fff;"width="160px"">　
                  <asp:TextBox ID="txtCardCode"  runat="server"></asp:TextBox>
                  </td>
                <td align="left"  style="color:#fff;" width="60px">密　码：</td>
                <td align="left" style="color:#fff;" width="100px">
                    <asp:TextBox ID="txtPassword" TextMode="Password" Width="80px" runat="server"></asp:TextBox>
                  </td>
                <td align="left" style="color:#fff;" width="60px">验证码：</td>
                <td  align="left" style="color:#fff;" width="100px">
                <asp:TextBox ID="txtValidate"  runat="server" Width="60px"></asp:TextBox>
                  </td>
                <td width="100px"align="left" style="color:#fff;">
                     <asp:Image ID="Image1" runat="server" Height="24px" ImageAlign="Middle" ImageUrl="~/admin/CheckCode.aspx" Width="68px" />
                  </td>
                <td width="40px" align="left" style="color:#fff;">
                     &nbsp;</td>
                <td width="100px" align="left" style="color:#fff;">
  
                   <asp:Button ID="btnAddCard" class="button" runat="server" 
                        OnClientClick="return openLoginPop()"  Text="添 加"   onclick="btnAddCard_Click"></asp:Button>
                  </td>
              </tr>
       
               <tr>
               <td id="tdMessage" runat="server" colspan="5" style="line-height:30px; border-top:1px solid #011D01; color:#FFF; padding-left:20px; text-align:left;"> </td>
               <td style="line-height:30px; border-top:1px solid #011D01; color:#FFF;"> <asp:LinkButton ID="lbtnExit" Visible="false" runat="server" ForeColor="#ffffff"  Text="【退出】"  CausesValidation="false" onclick="lbtnExit_Click"></asp:LinkButton></td>
               <td  style="line-height:30px; border-top:1px solid #011D01; color:#FFF;" colspan="4">  </td>
              </tr>
            </table>
                
             
      </div>
         <ul id="ulErrorMessage" runat="server"  visible="false" style="margin-left:450px; color:Red; width:100%; text-align:left; float:left;">
          <li><b>提示信息：</b></li>
          <li id="liErrorMessage" runat="server" style="margin-left:60px;"></li>
        </ul>


          <div id="institutionMenu" runat="server" > 
      
               </div>
               
                     

	  <div style=" float:left; margin-top:35px">
      <table style="width:100%;">
      <tr>
        <td id="tdOrder" runat="server" style="width:60%;border-bottom:2px solid #BE0000;  border-right:0px solid #fff;"></td>
        <td id="tdPage" runat="server"  style="width:40%;border-bottom:2px solid #BE0000;border-left:0px solid #fff;"> 
                    <webdiyer:aspnetpager id="AspNetPager2" Width="100%" runat="server" 
                        PageSize="50" horizontalalign="right" onpagechanged="AspNetPager2_PageChanged"  >
                </webdiyer:aspnetpager>
        </td>
      </tr>
      <tr>
      <td colspan="2">
         
            <asp:DataList ID="productsList" runat="server"   Height="300px"  EmptyText=""   HorizontalAlign="Left"  ItemStyle-VerticalAlign="Top"  RepeatDirection="Horizontal"
           RepeatColumns="5" CellPadding="0" CurrentPageIndex="1"  ForeColor="#333333" OnItemDataBound="DataList1_ItemDataBound">  
           <ItemTemplate>
             <br /><br />
			   
                      <div style="border-width:0px; border-color:#ddd;  border-style:solid; margin:15px 10px 0px 10px; ">
                         <p>             
			                <a href=products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>&sid=<%=Request.QueryString["sid"] %>>
			                <asp:Image ID="Image1" runat="server" ImageUrl=<%# DataBinder.Eval(Container.DataItem, "propic2") %> CssClass="img02" BorderWidth="1px"></asp:Image></a>
			                </p>
                                <br/>
				            <ul>
                            <li style="height:36px;" ><a  title='<%# DataBinder.Eval(Container.DataItem, "proname").ToString()%>'  href=products_details.aspx?pid=<%# DataBinder.Eval(Container.DataItem, "proid") %>&sid=<%=Request.QueryString["sid"] %>><%# DataBinder.Eval(Container.DataItem, "proname").ToString().Length >20 ? DataBinder.Eval(Container.DataItem, "proname").ToString().Substring(0,20) : DataBinder.Eval(Container.DataItem, "proname")  %> </a></li>
			                <li style="height:18px;">
                                <asp:Label ID="price" runat="server" CssClass="text_red" Text=<%# sPriceName + String.Format("{0:f}",DataBinder.Eval(Container.DataItem, "proprice1")) %>></asp:Label><asp:Label ID="Label1" runat="server" CssClass="text_red" Text=<%# String.Format("{0:f}",DataBinder.Eval(Container.DataItem, "proprice1")) %> Visible="false"></asp:Label></li>
				   
				            </ul>
                  </div>
		     </ItemTemplate>
          
          </asp:DataList>
      
      
      </td>
      </tr>
      <tr>
       <td colspan="2" >
       
            <webdiyer:aspnetpager id="AspNetPager1" Width="100%" runat="server" 
                PageSize="50" horizontalalign="right" onpagechanged="AspNetPager1_PageChanged" 
                 ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" TextBeforePageIndexBox="转到: " 
         CurrentPageIndex="19" FirstPageText="首页" LastPageText="尾页" PrevPageText="上页" NextPageText="下页" >
        </webdiyer:aspnetpager>
       </td>
      
      </tr>
      
      </table>

         

</div>


</div>
 <uc3:bottom ID="bottom_1" runat="server"   />
</center>

    </form>
       


</body>
</html>

